@extends('home.layout')

@section('content')
    <div class="page-list">
        <div class="list-cont">

            @include('home.document.list.common')
        </div>
    </div>
@endsection

@section('script')
    <script type="text/javascript" src="{{ get_home_asset('js/masonry.pkgd.min.js') }}"></script>
    <script type="text/javascript" src="{{ get_home_asset('js/imagesloaded.pkgd.min.js') }}"></script>
    <script type="text/javascript">
        var $grid = $('.list-cont').masonry({
            itemSelector: '.item'
        });
        // layout Masonry after each image loads
        $grid.imagesLoaded().progress( function() {
            $grid.masonry('layout');
        });
    </script>
@endsection
